const app = getApp()

Page({
  data: {
    navObj: false,
  },
  onPageScroll(e) {
    const navObj = this.data.navObj;
    if (navObj) {
      navObj.pageScrollChange(e.scrollTop)
    }
  },
  onReady() {
    this.data.navObj = this.selectComponent("#nav");
  },
  onLoad() {},
  clickReturn(){
    wx.showToast({
      title: '点击了返回按钮',
      icon:"none"
    })
  }
})